package com.seig.teashopping.config;


import org.springframework.context.annotation.Configuration;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

@Configuration
public class InterceptorConfig extends WebMvcConfigurationSupport {

    @Override
    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
        String basePath ="file:/D:/在线茶叶销售系统/tea-shopping/pt/";
        registry.addResourceHandler("/show/**").addResourceLocations(basePath);
    }



}
